using System;
using Castle.ActiveRecord;
using Karma.Framework.Core.Domain;

namespace Karma.Framework.Core.Modules.Reports.Definition
{
    [ActiveRecord("[Filter]", Mutable = false), JoinedBase]
    public class Filter : DomainObject
    {
        [JoinedKey]
        public override Int64 Id { get; set; }

        [Property(NotNull = true)]
        public string Name { get; set; }

        [Property(NotNull = true)]
        public string Expression { get; set; }

    }
}